package com.yixun.qfbao.apidto.v10dto;

public class DeptV10 implements Comparable<DeptV10>{
    private String deptNo;
    private String deptUuid;
    private String deptName;
    private Integer layer;
    private String deptUuid1;
    private String deptUuid2;
    private String deptUuid3;
    private String deptUuid4;
    private String deptUuid5;
    private String deptUuid6;
    private String deptUuid7;
    private String deptUuid8;


    @Override
    public int compareTo(DeptV10 o) {
        return this.layer.compareTo(o.getLayer());
//        if(this.layer >= o.getLayer()){
//            return 1;
//        }else{
//            return -1;
//        }
    }

    public String getDeptNo() {
        return deptNo;
    }

    public void setDeptNo(String deptNo) {
        this.deptNo = deptNo;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptUuid() {
        return deptUuid;
    }

    public void setDeptUuid(String deptUuid) {
        this.deptUuid = deptUuid;
    }

    public Integer getLayer() {
        return layer;
    }

    public void setLayer(Integer layer) {
        this.layer = layer;
    }

    public String getDeptUuid1() {
        return deptUuid1;
    }

    public void setDeptUuid1(String deptUuid1) {
        this.deptUuid1 = deptUuid1;
    }

    public String getDeptUuid2() {
        return deptUuid2;
    }

    public void setDeptUuid2(String deptUuid2) {
        this.deptUuid2 = deptUuid2;
    }

    public String getDeptUuid3() {
        return deptUuid3;
    }

    public void setDeptUuid3(String deptUuid3) {
        this.deptUuid3 = deptUuid3;
    }

    public String getDeptUuid4() {
        return deptUuid4;
    }

    public void setDeptUuid4(String deptUuid4) {
        this.deptUuid4 = deptUuid4;
    }

    public String getDeptUuid5() {
        return deptUuid5;
    }

    public void setDeptUuid5(String deptUuid5) {
        this.deptUuid5 = deptUuid5;
    }

    public String getDeptUuid6() {
        return deptUuid6;
    }

    public void setDeptUuid6(String deptUuid6) {
        this.deptUuid6 = deptUuid6;
    }

    public String getDeptUuid7() {
        return deptUuid7;
    }

    public void setDeptUuid7(String deptUuid7) {
        this.deptUuid7 = deptUuid7;
    }

    public String getDeptUuid8() {
        return deptUuid8;
    }

    public void setDeptUuid8(String deptUuid8) {
        this.deptUuid8 = deptUuid8;
    }
}
